package com.array.www.service;

import org.springframework.cloud.openfeign.FeignClient;

/**
 * 服务解耦
 * @Created by Mr.Array
 * @Description TODO
 * @Date 2021/5/15 12:35 下午
 */
@FeignClient
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService ---------paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService ---------paymentInfo_TimeOut";
    }
}
